package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.HotelDictionaryItem;
import cn.wolfcode.trip.base.query.HotelDictionaryItemQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface HotelDictionaryItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(HotelDictionaryItem record);

    HotelDictionaryItem selectByPrimaryKey(Long id);

    List<HotelDictionaryItem> selectAll();

    int updateByPrimaryKey(HotelDictionaryItem record);

    List<HotelDictionaryItem> queryForList(QueryObject qo);

    Integer getMaxSequence(Long placeId);

    List<HotelDictionaryItem> queryByCityId(QueryObject qo);

    List<HotelDictionaryItem> queryItemByCityId(HotelDictionaryItemQueryObject qo);

    List<HotelDictionaryItem> selectByParentId(Long parentId);







}